package com.itheima.service.impl;

import com.itheima.domain.Store;
import com.itheima.mapper.CartMapper;
import com.itheima.service.CartService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class CartServiceImpl implements CartService {
    private final CartMapper cartMapper;
    @Override
    public List<Store> getCart() {
        return cartMapper.getCart();
    }
}
